package cn.tj212.xiaoyin.core.auth.dao;

import cn.tj212.xiaoyin.common.page.TailPage;
import cn.tj212.xiaoyin.core.auth.domain.AuthUser;

import java.util.List;

public interface AuthUserDao {
    AuthUser getByUsernameAndPassword(AuthUser authUser);

    List<AuthUser> queryRecomd();

    Integer getTotalItemsCount(AuthUser queryEntity);

    List<AuthUser> queryPage(AuthUser queryEntity, TailPage<AuthUser> page);

    void update(AuthUser entity);

    void updateSelectivity(AuthUser entity);

    void delete(AuthUser entity);

    void deleteLogic(AuthUser entity);

    AuthUser getByUsername(String username);

    AuthUser getById(Long userId);

    AuthUser createSelectivity(AuthUser entity);
}
